package com.zhitan.ems.third.dahua.config;

/**
 * 平台信息配置
 */
public class PlatformConfig {
    private String clientId = "xxxxx";//凭证ID自定义，配合申请凭证流程申请
    private String clientSecret = "xxxxxxxxxxxx";//凭证密钥，参考此地址申请https://open-icc.dahuatech.com/iccdoc/enterprisebase/5.0.15/wiki/common/quickstart.html#%E7%94%B3%E8%AF%B7OpenAPI%E7%94%A8%E6%88%B7
    private String username = "openapi";//平台登录用户名
    private String password = "xxxx";//平台登录密码
    private String host = "172.16.0.20";//平台IP，联调环境IP
    private String httpsPort = "443";//https默认端口是443，联调环境443映射外网端口为4077
    private String httpPort = "80";//http默认端口是83，但不开启，，联调环境83映射外网端口为4078；需运维中心开启http调试模式后才支持；isEnableHttpTest=true时有效，
    private Long connectionTimeout = -1l;//连接超时
    private Long readTimeout = -1l;//读取超时

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getHttpsPort() {
        return httpsPort;
    }

    public void setHttpsPort(String httpsPort) {
        this.httpsPort = httpsPort;
    }

    public String getHttpPort() {
        return httpPort;
    }

    public void setHttpPort(String httpPort) {
        this.httpPort = httpPort;
    }

    public Long getConnectionTimeout() {
        return connectionTimeout;
    }

    public void setConnectionTimeout(Long connectionTimeout) {
        this.connectionTimeout = connectionTimeout;
    }

    public Long getReadTimeout() {
        return readTimeout;
    }

    public void setReadTimeout(Long readTimeout) {
        this.readTimeout = readTimeout;
    }
}
